package com.parking.mgr.common.constant;

/**
 * @ClassName CommonConstant
 * @Description TODO
 * @author: zhijianpu
 * @Date: 2025/2/28
 */
public interface CommonConstant {

    String OPERATION_FAILURE = "操作失败";

    /**
     * 数据校验异常代码
     */
    Integer VALIDATED_DATA_EXP_CODE = 2000;

    // token 延期天数
    Integer EXTENSION_DAYS = 15;

    /**
     * 启用
     */
    String ENABLE_STATE = "1";

    /**
     * 能修改
     */
    String CAN_UPDATE = "1";

    /**
     * 不能修改
     */
    String NOT_CAN_UPDATE = "0";

    /**
     * 能删除
     */
    String CAN_DELETE = "1";

    /**
     * 不能删除
     */
    String NOT_CAN_DELETE = "0";

    /**
     * 默认排序
     */
    Integer SORT_NUMBER = 1;

    /**
     * useraccount 缓存key
     */
    String USER_ACCOUNT_KEY = "/apps/useraccount";

    /**
     * 用户代理
     */
    String USER_AGENT = "User-Agent";

    // Session 中存储图形验证码的属性名
    String KAPTCHA_SESSION_KEY = "KAPTCHA_SESSION_KEY";

    /**
     * 事件——登录
     */
    String EVENT_CODE_LOGIN = "login";

    /**
     * LoginToken
     */
    String LOGIN_TOKEN = "Login-Token";

    /**
     * 客户端ID
     */
    String CLIENT_ID = "Client-Id";

    /**
     * 用户头像上传目录
     *
     */
    String HEAD_IMG_FILE_PATH = "headimg";

    /**
     * 公共数据包名
     */
    String SYSTEM_PACKAGE_NAME = "com.parking.mgr.useraccount";

    String SMS_HEAD = "sms:code:";

    /**
     * 缓存过期时间
     */
    Long EXPIRE_TIME = 2592000L;

    String EXPIRED = "0";

    String PENDING = "1";

    String PASS = "2";

    String REJECT = "3";

    String REVIEWING = "4";

    String FILLING = "-1";
}
